import { createRouter, createWebHistory } from 'vue-router';

export const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      component: () => import('@/views/home.vue')
    },
    {
      path:"/yq",
      component:()=>import('@/views/yq.vue')
    },{
      path:"/noyq",
      component:()=>import('@/views/noyq.vue')
    },
    {
      path:"/nocp",
      component:()=>import('@/views/nocp.vue')
    },
    {
      path:"/ys",
      component:()=>import('@/views/ys.vue')
    },
    {
      path:"/bh",
      component:()=>import('@/views/bh.vue')
    },
    {
      path: "/details",
      component: () => import("@/views/details.vue")
    },
      {
      path: "/getNovelList",
      component: () => import("@/components/home/top.vue")
    },
    {
      path: "/pay",
      component: () => import("@/views/pay.vue")
    },
    {
      path: "/payForm",
      component: () => import("@/views/payForm.vue")
    },
    ]
} as any);